#include <header.h>

int main(void){
    char *port = "8080";
    char *ip = "192.168.169.128";
    int socket_fd = socket(AF_INET, SOCK_DGRAM, 0);

    struct sockaddr_in server_addr;
    server_addr.sin_family = AF_INET;
    server_addr.sin_port = htons(atoi(port));
    server_addr.sin_addr.s_addr = inet_addr(ip);

    bind(socket_fd, (struct sockaddr*)&server_addr, sizeof server_addr);

    char buf[8];
    recvfrom(socket_fd, buf, sizeof buf, 0, (struct sockaddr*)&server_addr, sizeof server_addr);






    close(socket_fd);
    return 0;
}